package com.ykdl.member.kid.util;

import java.util.ArrayList;
import java.util.List;

import android.app.Activity;
import android.content.res.Resources;
/**
 * 获取资源的工具，方便将来替换res 来源
 * @see
 * @since 1.0
 */
public class ResoureUtil {
	private static Resources res;
	
  public static void intiResoure(Resources pres){
	  res=pres;
  }
  
  public static Resources getResoure( ){
	  return res;
  }
  public static List activityList = new ArrayList();
  public static void exit(){
		 int siz=activityList.size();
		 for(int i=0;i<siz;i++){
			 if(activityList.get(i)!=null){
				 ((Activity) activityList.get(i)).finish();
			 }
		 }
	 }
  
}
